package com.k.rpc.dubbo.server.zookeeper;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDubbo(scanBasePackages = "com.k.rpc.dubbo.service.server")
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class},scanBasePackages = "com.k.rpc.dubbo.service.server")
public class DubboAnnoServerZookeeperRun {
    public static void main(String[] args) {
        //System.setProperty(AppNameUtil.APP_NAME,"provider.dubbo");
        SpringApplication.run(DubboAnnoServerZookeeperRun.class, args);
    }
}
